using PowerManage.Entity.Commons;
using PowerManage.Entity.Enums;

namespace PowerManage.Entity.Dtos.AudiLogs;

/// <summary>
/// 审核日志分页请求
/// </summary>
public class AudiLogPageRequestDto : PageRequestDto
{
    /// <summary>
    /// API接口地址
    /// </summary>
    public string? ApiUrl { get; set; }

    /// <summary>
    /// 客户端IP
    /// </summary>
    public string? ClientIpAddress { get; set; }

    /// <summary>
    /// 日志记录区间：开始时间
    /// </summary>
    public DateTime? StartTime { get; set; }

    /// <summary>
    /// 日志记录区间：结束时间
    /// </summary>
    public DateTime? EndTime { get; set; }

    /// <summary>
    /// 调用用户ID
    /// </summary>
    public long? CreatorId { get; set; }

    /// <summary>
    /// 日志类型 0:正常日志记录，99：异常日志
    /// </summary>
    public List<AuditLogType>? AuditLogTypes { get; set; }
}